package com.fengxu.gamescript.jsengine.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.METHOD,ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@JsCodeTip
@Inherited
public @interface JsCallJava {
    // 注入名称
    String value() default "";
    // 方法解释
    String statement() default "";
    // (属性可用)是否是常量
    boolean isConst() default true;
}
